package com.ruoyi.ma.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.ma.domain.MaMaterialProgress;
import com.ruoyi.ma.domain.MaMaterialProgressDetails;
import com.ruoyi.ma.domain.vo.MaMaterialProgressDetailsVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料进度业务对象 ma_material_progress
 *
 * @author llb
 * @date 2024-11-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MaMaterialProgressBo extends BaseEntity {

    /**
     * 进度id
     */
//    @NotNull(message = "进度id不能为空", groups = { EditGroup.class })
    private Long progressId;

    /**
     * 标段id
     */
//    @NotNull(message = "标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    /**
     * 站点id
     */
    private Long zdId;

    /**
     * 供应商id
     */
    @NotNull(message = "供应商id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long gysId;

    /**
     * 类型id
     */
//    @NotNull(message = "类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long type;

    /**
     * 供货流水号
     */
//    @NotBlank(message = "供货流水号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String waterCode;

    /**
     * 交接验收单据号
     */
//    @NotBlank(message = "交接验收单据号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String acceptanceCode;

    /**
     * 供货日期
     */
//    @NotNull(message = "供货日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String supplyDate;
    /**
     * 供货地点
     */
    private String address;
    /**
     * 施工单位对接人
     */
    private String contactPerson;
    /**
     * 电话
     */
    private String phone;
    /**
     * 备注
     */
    private String remark;
    /**
     * 附件id
     */
    private String fileId;

    private List<MaMaterialProgressDetails> detailList;

}
